﻿using MediatR;
using MES.Server.API.Dto.InvoiceTicketDTO;
using ReturnValue;

namespace MES.Server.API.Application.Command.InvoiceTicket.Invoice
{
    public class InvoiceCreateCommand: IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 开票单号
        /// </summary>
        public string InvoicingCode { get; set; }
        /// <summary>
        /// 开票主题
        /// </summary>
        public string InvoicingName { get; set; }
        /// <summary>
        /// 开票类型
        /// </summary>
        public string InvoicingType { get; set; }
        /// <summary>
        /// 开票时间
        /// </summary>
        public string InvoicingDate { get; set; }
        /// <summary>
        /// 开票金额
        /// </summary>
        public string InvoicingMomeny { get; set; }
        /// <summary>
        /// 开票方
        /// </summary>

        public string ReceiveInvoicing { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string InvoicingDesc { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreaterPeople { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdaterPeople { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        public List<AddOrderdto> Procedures { get; set; }
    }
}
